package Card;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2025-03-03
 * Time: 18:01
 */
public class Card {
    //这是牌的属性：数字和花色
    public String suit;
    public int num;

    public Card(String suit, int num) {
        this.suit = suit;
        this.num = num;
    }

    @Override
    public String toString() {
//        return "Card{" +
//                "suit='" + suit + '\'' +
//                ", num=" + num +
//                '}';
        return "{" + this.suit + this.num +  "} ";
    }
}
